Javascript to color the code of Python in websites

by: s.maximus3, 7 years ago


Hi, I want to put a text editor on my website that actually colors the keywords, strings and methods of Python language. Just like in this website. When i turned off javascript for my browser, i was able to know this website uses Javascript to color the code. I've a friend and he uses wordpress plugin to color the code, which doesn't require any Client-side Script. So my question, is there any web plugin that actually helps my color up my code, or in case there isn't any. Would anyone show me a bit example through javascript. Only a lines of code are enough. Thanks



You must be logged in to post. Please login or register an account.